package cn.jdx.service;

import cn.jdx.entity.Permission;
import cn.jdx.entity.PermissionExample;
import cn.jdx.mapper.PermissionMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PermissionServiceImpl implements PermissionService {
    @Resource(name = "permissionMapper")
    private PermissionMapper mapper;
    @Override
    public long countByExample(PermissionExample example) {
        return 0;
    }

    @Override
    public int deleteByExample(PermissionExample example) {
        return 0;
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    @Override
    public int insert(Permission record) {
        return 0;
    }

    @Override
    public int insertSelective(Permission record) {
        return 0;
    }

    @Override
    public List<Permission> selectByExample(PermissionExample example) {
        return mapper.selectByExample(example);
    }

    @Override
    public Permission selectByPrimaryKey(Integer id) {
        return null;
    }

    @Override
    public int updateByExampleSelective(Permission record, PermissionExample example) {
        return 0;
    }

    @Override
    public int updateByExample(Permission record, PermissionExample example) {
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(Permission record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Permission record) {
        return 0;
    }
}
